/*
 * Copyright 2017-2101 Innel.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hykj.xxltest.model;

import com.hykj.xxltest.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;


/**
 * @author innel
 * @email 2638086622@qq.com
 * @date 2018-06-27 16:04:34
 */
@ApiModel(description = "")
public class BannerModel extends BaseModel {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 封面图
     */
    @ApiModelProperty(value = "封面图")
    private String photo;
    /**
     * 跳转ID 或者连接
     */
    @ApiModelProperty(value = "跳转ID 或者连接")
    private String link;
    /**
     * 跳转类型 1.商品详情 2外链URL（目前没有） 3.其他（目前没有）
     */
    @ApiModelProperty(value = "跳转类型 1.商品详情 2外链URL（目前没有） 3.其他（目前没有）")
    private Integer linkType;
    /**
     * createTime
     */
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 设置：id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：封面图
     */
    public void setPhoto(String photo) {
        this.photo = photo;
    }

    /**
     * 获取：封面图
     */
    public String getPhoto() {
        return photo;
    }

    /**
     * 设置：跳转ID 或者连接
     */
    public void setLink(String link) {
        this.link = link;
    }

    /**
     * 获取：跳转ID 或者连接
     */
    public String getLink() {
        return link;
    }

    /**
     * 设置：跳转类型 1.商品详情 2外链URL（目前没有） 3.其他（目前没有）
     */
    public void setLinkType(Integer linkType) {
        this.linkType = linkType;
    }

    /**
     * 获取：跳转类型 1.商品详情 2外链URL（目前没有） 3.其他（目前没有）
     */
    public Integer getLinkType() {
        return linkType;
    }

    /**
     * 设置：createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取：createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置：标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取：标题
     */
    public String getTitle() {
        return title;
    }
}
